package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.OfficeBuildingRent;

/**
 * 写字楼出租Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-12
 */
public interface OfficeBuildingRentMapper 
{
    /**
     * 查询写字楼出租
     * 
     * @param id 写字楼出租主键
     * @return 写字楼出租
     */
    public OfficeBuildingRent selectOfficeBuildingRentById(Long id);

    /**
     * 查询写字楼出租列表
     * 
     * @param officeBuildingRent 写字楼出租
     * @return 写字楼出租集合
     */
    public List<OfficeBuildingRent> selectOfficeBuildingRentList(OfficeBuildingRent officeBuildingRent);

    /**
     * 新增写字楼出租
     * 
     * @param officeBuildingRent 写字楼出租
     * @return 结果
     */
    public int insertOfficeBuildingRent(OfficeBuildingRent officeBuildingRent);

    /**
     * 修改写字楼出租
     * 
     * @param officeBuildingRent 写字楼出租
     * @return 结果
     */
    public int updateOfficeBuildingRent(OfficeBuildingRent officeBuildingRent);

    /**
     * 删除写字楼出租
     * 
     * @param id 写字楼出租主键
     * @return 结果
     */
    public int deleteOfficeBuildingRentById(Long id);

    /**
     * 批量删除写字楼出租
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOfficeBuildingRentByIds(Long[] ids);
}
